#include "gamekit/Window.h"

using namespace gamekit;

Window::Window(const std::string& caption, const ushort& width, const ushort& height, const uint& depth) 
	: EventSource<Window, WindowEvents>(),
	m_caption(caption),
	m_width(width),
	m_height(height),
	m_depth(depth)
{
}

Window::~Window()
{
}

void Window::init(void)
{
	onInit();
}

void Window::beginDraw(void)
{
	onBeginDraw();
}

void Window::endDraw(void)
{
	onEndDraw();
}

ushort Window::width(void) const
{
	return m_width;
}

ushort Window::height(void) const
{
	return m_height;
}

std::string Window::caption(void) const
{
	return m_caption;
}

uint Window::depth(void) const
{
	return m_depth;
}
